const mongoose = require('mongoose');
// 旅客
const touristSchema = new mongoose.Schema({
  username: String,
  password: String,
  age: Number,
  createTime: {
    type: Date,
    default: Date.now
  }
})

const touristModel = mongoose.model('tourist',touristSchema)

module.exports = touristModel